package com.bijava.vo;

import com.bijava.entity.ConnectionEntity;
import org.apache.commons.lang3.StringUtils;

/**
 * Created by ljj on 2018/6/7.
 */
public class GenCodedownloadFileVo extends ConnectionEntity {
    private String tables;
    private String sqlType;
    private String module;

    private String tableComment;
    private String basePackage;

    private String ignoreTablePrefix;

    public String getTables() {
        return tables;
    }

    public void setTables(String tables) {
        this.tables = tables;
    }

    public String getSqlType() {
        return sqlType;
    }

    public void setSqlType(String sqlType) {
        this.sqlType = sqlType;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getBasePackage() {
        return basePackage;
    }

    public void setBasePackage(String basePackage) {
        this.basePackage = basePackage;
    }

    public String getIgnoreTablePrefix() {
        if(StringUtils.isBlank(this.ignoreTablePrefix)){
            return "";
        }
        return ignoreTablePrefix;
    }

    public void setIgnoreTablePrefix(String ignoreTablePrefix) {
        this.ignoreTablePrefix = ignoreTablePrefix;
    }

    public String getTableComment() {
        if(StringUtils.isBlank(this.tableComment)){
            return "";
        }
        return tableComment;
    }

    public void setTableComment(String tableComment) {
        this.tableComment = tableComment;
    }
}
